<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html">

<head>
	<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
	<title>Interactive Database Tuning Tool</title>
	
</head>

<body>
	<!-- Login Form -->
	<div id="loginFormDiv" style="">
	<h:form id="login">
				<h2>Login</h2>
				<h:panelGrid columns="2">
					<h:outputText  value="Login:"></h:outputText>
					<h:inputText id="usernameField" value="#{loginForm.usuario.username}"></h:inputText>

					<h:outputText value="Senha:"></h:outputText>
					<h:inputSecret id="passwordField" value="#{loginForm.usuario.senha}"></h:inputSecret>

					<h:commandButton  value="Entrar" action="#{loginForm.autenticarUsuario}"></h:commandButton>
				</h:panelGrid>
			</h:form>
	</div>
	<!-- Fim do Login Form -->
</body>
</html>